package com.xxgc.springboot.controller.exception;

/**
 * @program: springboot
 * @description:异常接口信息
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-09-22 09:18
 **/
public interface MessageException{
    String MSG_HEAD = "XXGC-V2022-";
    //创建Quartz时间是过去式
    String QUARTZTIME_CODE = MSG_HEAD+"Task-01";
    String QUARTZTIME_MSG = "创建Quartz的Cron是过去时间";
    //创建Quartz没有找到Job
    String NOTQUARTZCLASSFOUNDEXCEPTION_CODE = MSG_HEAD+"Task-02";
    String NOTQUARTZCLASSFOUNDEXCEPTION_MSG = "创建Quartz没有找到对应的Job";
    //Token无效异常
    String TOKENINVALIDEXCEPTION_CODE = MSG_HEAD+"Token-01";
    String TOKENINVALIDEXCEPTION_MSG = "Token无效";
    //未找到token
    String TOKENNULLEXCEPTION_CODE = MSG_HEAD+"Token-02";
    String TOKENNULLEXCEPTION_MSG = "未发现令牌，请先登录";

    String TNOPERMISSIONEXCEPTION_CODE = MSG_HEAD+"Perm-01";
    String TNOPERMISSIONEXCEPTION_MSG = "账号无权限";
}
